#include<bits/stdc++.h>
using namespace std;
int main()
{
    freopen("color.in","r",stdin);
    freopen("color.out","w",stdout);
    int n,a,e;
    cin>>n>>a;
    for(int i=1;i<=n*a;i++)cin>>e;
    cout<<0;
}
